﻿@namespace MduiBlazor
@inherits MduiComponentBase

<button class="@Classname" style="@Style" @attributes="@AdditionalAttributes" @onclick="@OnClick">
    @if (ChildContent is not null)
    {
        @ChildContent
    }
    else
    {
        <MduiIcon Icon="@Icon" />
    }
</button>
